package builder;

public class ConcreteBuilder implements Builder{

    Product dataJson = new Product();


    @Override
    public void buildReader(String val) {
        dataJson.setReader(val);
    }

    @Override
    public void buildWriter(String val) {
        dataJson.setWriter(val);
    }

    @Override
    public void buildSetting(String val) {
        dataJson.setSetting(val);
    }

    @Override
    public Product getJson() {
        return dataJson;
    }
}
